<!DOCTYPE html>
<html lang="en">
<head>
    <!-- css边框 -->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css边框</title>
    <!-- 边框 -->
     <style>
        .c1{
            border: 10px;
            border-style: solid;
            border-color: black;
        }
        .top{
            border-top: 20px;
            border-style: solid;
            border-color: black;
        }
        .right{
            border-right:30px;
            border-style: solid;
            border-color: black;
        }
        .bottom{
            border-bottom: 40px;
            border-style: solid;
            border-color: black;
        }
        .left{
            border-left:50px;
            border-style: solid;
            border-color: black;
        }
        .one{
            border-width:10px;
                        border-style: solid;
            border-color: black;
        }
        .two{
            border-width:10px 20px;
             border-style: solid;
            border-color: black;
        }
        .three{
            border-width:10px 20px 30px;
                        border-style: solid;
            border-color: black;
        }
        .four{
            border-width:10px 20px 30px 40px;
            border-style: solid;
            border-color: black;
        }
 </style>
</head>
<body>
    <p class="c1">我是边框1</p>
    <p class="top">我是边框2</p>
    <p class="right">我是边框3</p>
    <p class="bottom">我是边框4</p>
    <p class="left">我是边框5</p>
    <p class="one">我是边框6</p>
    <p class="two">我是边框7</p>
    <p class="three">我是边框8</p>
    <p class="four">我是边框9</p>
</body>
</html>
